package com.cloudOffice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudOffice.model.system.SysUser;
import com.cloudOffice.vo.system.LoginVo;
import com.cloudOffice.vo.system.SysUserQueryVo;

import java.util.Map;

public interface SysUserService extends IService<SysUser> {
	Map<String, Object> login(LoginVo loginVo);
	
	IPage<SysUser> index(Long page, Long limit, SysUserQueryVo sysUserQueryVo);
	
	void updateStatus(Long id, Integer status);
	
	Map<String, Object> getUserInfo(String username);
	
	
	Map<String, Object> againGetToken(Object id, String username);
}

